<?php

/**
 * Created by PhpStorm.
 * User: lwh
 * Date: 2017/7/20
 * Time: 10:03
 */
class User{
    private $id;
    private $account;
    private $password;
    private $publishCredit;
    private $withdrawCredit;
    private $avatar;
    private $tag;
    private $loginFlag;
    private $weChatId;
    private $phoneNum;
    public static $USER_NORMAL = 0, $USER_VIP = 1;

    /**
     * @return mixed
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * @param mixed $id
     */
    public function setId($id)
    {
        $this->id = $id;
    }

    /**
     * @return mixed
     */
    public function getAccount()
    {
        return $this->account;
    }

    /**
     * @param mixed $account
     */
    public function setAccount($account)
    {
        $this->account = $account;
    }

    /**
     * @return mixed
     */
    public function getPassword()
    {
        return $this->password;
    }

    /**
     * @param mixed $password
     */
    public function setPassword($password)
    {
        $this->password = $password;
    }

    /**
     * @return mixed
     */
    public function getPublishCredit()
    {
        return $this->publishCredit;
    }

    /**
     * @param mixed $publishCredit
     */
    public function setPublishCredit($publishCredit)
    {
        $this->publishCredit = $publishCredit;
    }

    /**
     * @return mixed
     */
    public function getWithdrawCredit()
    {
        return $this->withdrawCredit;
    }

    /**
     * @param mixed $withdrawCredit
     */
    public function setWithdrawCredit($withdrawCredit)
    {
        $this->withdrawCredit = $withdrawCredit;
    }

    /**
     * @return mixed
     */
    public function getAvatar()
    {
        return $this->avatar;
    }

    /**
     * @param mixed $avatar
     */
    public function setAvatar($avatar)
    {
        $this->avatar = $avatar;
    }

    /**
     * @return mixed
     */
    public function getTag()
    {
        return $this->tag;
    }

    /**
     * @param mixed $tag
     */
    public function setTag($tag)
    {
        $this->tag = $tag;
    }

    /**
     * @return mixed
     */
    public function getLoginFlag()
    {
        return $this->loginFlag;
    }

    /**
     * @param mixed $loginFlag
     */
    public function setLoginFlag($loginFlag)
    {
        $this->loginFlag = $loginFlag;
    }

    /**
     * @return mixed
     */
    public function getWeChatId()
    {
        return $this->weChatId;
    }

    /**
     * @param mixed $weChatId
     */
    public function setWeChatId($weChatId)
    {
        $this->weChatId = $weChatId;
    }

    /**
     * @return mixed
     */
    public function getPhoneNum()
    {
        return $this->phoneNum;
    }

    /**
     * @param mixed $phoneNum
     */
    public function setPhoneNum($phoneNum)
    {
        $this->phoneNum = $phoneNum;
    }

}